import { getEnv } from '@/storage/global'

let report_url: string = ''
let upload_url: string = 'https://ydoss.yslpms.com'

const env: string = getEnv()

switch (env) {
  case 'dev': // 开发用
    report_url = 'http://192.168.3.96:5088' // 龙工
  case 'dev1':
    report_url = 'http://192.168.3.90:5088' // 蒋工
  case 'yd':
    report_url = 'https://report2.yslpms.com'
}

export default report_url
